package types

type AfterSalesCreateReq struct {
	PurchaseOrdersDetailID int64   `json:"purchase_orders_detail_id"`
	ReasonType             int64   `json:"reason_type"`
	Weight                 float64 `json:"weight"`
}

type AfterSalesAllocationReq struct {
	AftersalesID          int64 `json:"aftersales_id"`
	PurchaseStoreDetailID int64 `json:"purchase_store_detail_id"`
}

type AftersalesListResp struct {
	List []*AftersalesList `json:"list,omitempty"`
}

type AftersalesList struct {
	Code             string  `json:"code"`
	PurchaseOrdersNo string  `json:"purchase_orders_no"`
	SpuName          string  `json:"spu_name"`
	Status           int64   `json:"status"`
	UnitName         string  `json:"unit_name"`
	Weight           float64 `json:"weight"`
}

type AftersalesIDForm struct {
	AftersalesID int64 `form:"aftersales_id"`
}
